<%@page import = "com.ccs.TrueFalse"%>
<%
        TrueFalse[] tf = new TrueFalse[5];

        //true or false
        tf[0] = new TrueFalse("Actionscripts can be put to an object.");
        tf[1] = new TrueFalse("Putting actionscripts even in the frames alone is possible.");
        tf[2] = new TrueFalse("It is impossible to connect a database in Flash.");
        tf[3] = new TrueFalse("Putting instance names on each object is highly discouraged.");
        tf[4] = new TrueFalse("Flash is a good example of Object-Oriented Programming.");

        String tfItem = request.getParameter("tfItem");

        for (int i = 0; i < tf.length; i++)
             if ( Integer.parseInt(tfItem) == i )
                out.println(tf[i].getQuestion());
%>

